package com.lcn.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lcn.pojo.Comment;
import com.lcn.pojo.vo.CommentVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 评论表 Mapper 接口
 * </p>
 *
 * @author 朝恩君
 * @since 2024-10-17
 */
public interface CommentMapper extends BaseMapper<Comment> {

    /**
     * 查询评论
     *
     * @param paramMap
     * @return
     */
    List<CommentVO> queryComment(@Param("paramMap") Map<String, Object> paramMap);

}
